<template>
  <el-card>
  <vue-wangeditor id="editor"   width="100%" v-model="text"></vue-wangeditor>
  </el-card>
</template>

<script>
import vueWangeditor from 'vue-wangeditor'
export default {
  data(){
    return {
      content:"<h1>你好</h1>"
    }
    
  },
  components:{
    vueWangeditor
  }
}
</script>

<style>
#editor{

  height: 400px;
}
</style>